package com.atguigu.es.vo;

import lombok.Data;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;

@Data
public class Attr {
    @Field(value = "category" , type = FieldType.Keyword )
    private String category;
    @Field(value = "brand" , type = FieldType.Keyword)
    private String brand;
}
